<p class="text-center">
    <a class="btn btn-success" href="/marcas/agregar/" role="button">Agregar Marca</a>
</p>
<table class="table table-striped table-bordered">
    <tr>
        <th>#</th>
        <th>Marca</th>
    </tr>
    <?php foreach($marcas as $marca) { ?>
    <tr>
        <td><?=$marca['idmarca']?></td>
        <td><a href="/marcas/editar/<?=$marca['idmarca']?>/"><?=$marca['marca']?></a></td>
    </tr>
    <?php } ?>
</table>
<p class="text-center">
    <a class="btn btn-success" href="/marcas/agregar/" role="button">Agregar Marca</a>
</p>